import request from '@/utils/request'
const path = "/interface"

/* 获取所有路由列表接口
params { 
}
*/
export function findRouterList(params) {
  return request({
    url: path + '/router/',
    method: 'get',
    params
  })
}

/* 获取当前用户角色路由列表接口
params {
}
*/
export function findRouterForRoleList(params) {
    return request({
      url: path + '/routerForRole/',
      method: 'get',
      params
    })
  }